#include					"EncodedSoundPacket.h"

EncodedSoundPacket::EncodedSoundPacket()
{
	_content = 0;
}

EncodedSoundPacket::~EncodedSoundPacket()
{

}

void						EncodedSoundPacket::clean()
{
	if (_content)
		delete _content;
}

int							EncodedSoundPacket::len() const
{
	return _len;
}

byte						*EncodedSoundPacket::data() const
{
	return _content;
}

int							EncodedSoundPacket::frame_size() const
{
	return _frame_size;
}

void						EncodedSoundPacket::setData(byte *data)
{
	_content = data;
}

void						EncodedSoundPacket::setFS(int FS)
{
	_frame_size = FS;
}

void						EncodedSoundPacket::setLen(int size)
{
	_len = size;
}